package com.alks.entity.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author ms
 * @since 2024-02-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("PC_SUPPLEMENT_STATUS")
@ApiModel(value="PcSupplementStatus对象", description="")
public class PcSupplementStatus implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonIgnore
    @ApiModelProperty(value = "公司ID")
    private String companyId;

    @ApiModelProperty(value = "订单号")
    private String slipNo;

    @com.alibaba.excel.annotation.format.DateTimeFormat("yyyy/MM/dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "补料日期")
    private Date slipDate;

    @JsonIgnore
    @ApiModelProperty(value = "补料部门ID")
    private String dutyDeptNo;

    @ApiModelProperty(value = "补料部门")
    private String dutyDeptName;

    @ApiModelProperty(value = "补料类型")
    private String blFlag;

    @ApiModelProperty(value = "原料标志位")
    private String type1NeedFlag;

    @ApiModelProperty(value = "冲裁标志位")
    private String type2NeedFlag;

    @ApiModelProperty(value = "外协工艺标志位")
    private String type3NeedFlag;

    @ApiModelProperty(value = "配套标志位")
    private String type4NeedFlag;

    @ApiModelProperty(value = "针车标志位")
    private String type5NeedFlag;

    @ApiModelProperty(value = "大底标志位")
    private String type6NeedFlag;

    @ApiModelProperty(value = "成型标志位")
    private String type7NeedFlag;

    @com.alibaba.excel.annotation.format.DateTimeFormat("yyyy/MM/dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "原材料完成日期")
    private Date finishDate1;

    @com.alibaba.excel.annotation.format.DateTimeFormat("yyyy/MM/dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "冲裁完成日期")
    private Date finishDate2;

    @com.alibaba.excel.annotation.format.DateTimeFormat("yyyy/MM/dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "外协工艺完成日期")
    private Date finishDate3;

    @com.alibaba.excel.annotation.format.DateTimeFormat("yyyy/MM/dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "配套完成日期")
    private Date finishDate4;

    @com.alibaba.excel.annotation.format.DateTimeFormat("yyyy/MM/dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "针车完成日期")
    private Date finishDate5;

    @com.alibaba.excel.annotation.format.DateTimeFormat("yyyy/MM/dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "大底完成日期")
    private Date finishDate6;

    @com.alibaba.excel.annotation.format.DateTimeFormat("yyyy/MM/dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "成型完成日期")
    private Date finishDate7;

    @JsonIgnore
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime sysDate;

    @JsonIgnore
    @ApiModelProperty(value = "创建人")
    private String sysUser;

    @ApiModelProperty(value = "完成状况标志位")
    private String typeNeedFlag;

    @com.alibaba.excel.annotation.format.DateTimeFormat("yyyy/MM/dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "完成日期")
    private Date finishDate;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "补制数量")
    private BigDecimal suppQty;


}
